ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vuejs Snippets

Vuejs Snippets for Sublime Text

Details

  • 2021.11.10.21.36.00
  • github.​com
  • github.​com
  • 4 years ago
  • 3 hours ago
  • 12 years ago

Installs

  • Total 188K
  • Win 121K
  • Mac 42K
  • Linux 25K
Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18
Windows 0 2 3 1 3 2 1 2 4 1 5 4 4 2 2 1 4 0 2 3 3 2 0 1 3 3 0 2 1 0 3 2 0 4 1 1 1 4 1 1 1 4 3 1 2 3
Mac 0 0 1 2 1 0 0 1 0 1 2 1 0 0 1 2 1 0 0 1 1 1 3 1 0 0 2 0 1 1 1 0 0 0 0 0 0 2 0 2 0 1 2 0 0 1
Linux 0 1 1 0 0 0 0 1 1 2 0 0 0 0 1 0 0 0 2 0 1 0 1 0 0 1 0 0 1 0 0 2 0 1 1 0 1 0 1 1 1 0 1 1 1 0

Readme

Source
raw.​githubusercontent.​com

Vue.js Snippets for Sublime Text

Snippets for Sublime Text with the key features of Vue.js

Install

  1. Open packagecontrol.io - (ctrl or ) + + p
  2. Type “Vuejs Snippets
  3. :white_check_mark: Installed!

Snippets

Global:

  • v
  • vue ⇢ Vue instance
  • vued ⇢ Vue directive
  • vuef ⇢ Vue filter
  • vuenexttickVue.nextTick()

Component + Options/Data

  • vuec ⇢ Vue component
  • vueccomputed ⇢ Vue computed props
  • vuecdata ⇢ Vue component data
  • vuecmethods ⇢ Vue component methods
  • vuecmixins ⇢ Vue component mixins
  • vuecprops ⇢ Vue component props
  • vuecwatch ⇢ Vue component watch

Vue Resource

  • vuehtthis.$http()
  • vuehtgetthis.$http.get()
  • vuehtpostthis.$http.post()

Vue Router

  • vuertthis.$route
  • vuertgothis.$route.router.go()

Vuex

  • vuexVuex instance

Directives:

  • v-bind:prop="data"
  • v-elv-el:el-name
  • v-else<div v-else>
  • v-for<div v-for="item in items">
  • v-if<div v-if="">
  • v-link<a v-link="">
  • v-on@evt="callback"
  • v-refv-ref:ref-name

Update

Just Remove and Install again.

License

filipe - WTFPL